<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: include/pico/multicore.h Source File</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.1.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('multicore_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">multicore.h</div></div>
</div><!--header-->
<div class="contents">
<a href="multicore_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> *</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> */</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#ifndef _PICO_MULTICORE_H</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#define _PICO_MULTICORE_H</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &quot;pico/types.h&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &quot;<a class="code" href="common_2pico__sync_2include_2pico_2sync_8h.html">pico/sync.h</a>&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &quot;hardware/structs/sio.h&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment">// PICO_CONFIG: PARAM_ASSERTIONS_ENABLED_PICO_MULTICORE, Enable/disable assertions in the pico_multicore module, type=bool, default=0, group=pico_multicore</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#ifndef PARAM_ASSERTIONS_ENABLED_PICO_MULTICORE</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#define PARAM_ASSERTIONS_ENABLED_PICO_MULTICORE 0</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="comment">// PICO_CONFIG: PICO_CORE1_STACK_SIZE, Minimum amount of stack space reserved in the linker script for core 1 - if zero then no space is reserved and the user must provide their own stack, min=0, max=0x10000, default=PICO_STACK_SIZE (0x800), group=pico_multicore</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">#ifndef PICO_CORE1_STACK_SIZE</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor">#ifdef PICO_STACK_SIZE</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#define PICO_CORE1_STACK_SIZE PICO_STACK_SIZE</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor">#define PICO_CORE1_STACK_SIZE 0x800</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="preprocessor">#ifndef SIO_FIFO_IRQ_NUM</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span><span class="preprocessor">#if !PICO_RP2040</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="preprocessor">#define SIO_FIFO_IRQ_NUM(core) SIO_IRQ_FIFO</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span><span class="keyword">static_assert</span>(<a class="code hl_enumvalue" href="group__hardware__irq.html#ggaf4bf6b287c1a8445fce49ccaa711b3c3ae00819201c60acdf59448df5a08c11b5">SIO_IRQ_PROC1</a> == <a class="code hl_enumvalue" href="group__hardware__irq.html#ggaf4bf6b287c1a8445fce49ccaa711b3c3a841acbddc6961252827d7645277452ec">SIO_IRQ_PROC0</a> + 1, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="group__pico__multicore.html#ga1413ebfa65114c6f408f4675897ac5ee">   62</a></span><span class="preprocessor">#define SIO_FIFO_IRQ_NUM(core) (SIO_IRQ_PROC0 + (core))</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262">multicore_reset_core1</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__multicore.html#ga46ea5e2efc181aba1d4d1de06a375c59">multicore_launch_core1</a>(<span class="keywordtype">void</span> (*entry)(<span class="keywordtype">void</span>));</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__multicore.html#gac1926bb2da43016e5d14eb52c8c123f4">multicore_launch_core1_with_stack</a>(<span class="keywordtype">void</span> (*entry)(<span class="keywordtype">void</span>), uint32_t *stack_bottom, <span class="keywordtype">size_t</span> stack_size_bytes);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__multicore.html#gac3a24e275219229de49d1fb32e3c4ef0">multicore_launch_core1_raw</a>(<span class="keywordtype">void</span> (*entry)(<span class="keywordtype">void</span>), uint32_t *sp, uint32_t vector_table);</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="group__multicore__fifo.html#gaffd246b81370d37fc13181a561303834">  145</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__fifo.html#gaffd246b81370d37fc13181a561303834">multicore_fifo_rvalid</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>    <span class="keywordflow">return</span> sio_hw-&gt;fifo_st &amp; SIO_FIFO_ST_VLD_BITS;</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>}</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="group__multicore__fifo.html#ga6065367210695961c11ab3706140d3a9">  156</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__fifo.html#ga6065367210695961c11ab3706140d3a9">multicore_fifo_wready</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>    <span class="keywordflow">return</span> sio_hw-&gt;fifo_st &amp; SIO_FIFO_ST_RDY_BITS;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>}</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__fifo.html#ga134933a693c53c4f94c9d3cd3cabfc79">multicore_fifo_push_blocking</a>(uint32_t data);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span> </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="group__multicore__fifo.html#ga559050fb6fd4a37ccc81ef6272cbf34b">  184</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__fifo.html#ga559050fb6fd4a37ccc81ef6272cbf34b">multicore_fifo_push_blocking_inline</a>(uint32_t data) {</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>    <span class="comment">// We wait for the fifo to have some space</span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span>    <span class="keywordflow">while</span> (!<a class="code hl_function" href="group__multicore__fifo.html#ga6065367210695961c11ab3706140d3a9">multicore_fifo_wready</a>())</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>        <a class="code hl_function" href="group__pico__platform.html#gab0d1ba75ceb64131e19f613d7a5313c9">tight_loop_contents</a>();</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>    sio_hw-&gt;fifo_wr = data;</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>    <span class="comment">// Fire off an event to the other core</span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>    <a class="code hl_function" href="group__hardware__sync.html#ga486eada32246494118f8273a80ae6856">__sev</a>();</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>}</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__fifo.html#ga0c32cfcd182d5f1d3a25b6fb503352b7">multicore_fifo_push_timeout_us</a>(uint32_t data, uint64_t timeout_us);</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span> </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>uint32_t <a class="code hl_function" href="group__multicore__fifo.html#ga929272dd1056d8ae05667beda4adb0fc">multicore_fifo_pop_blocking</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="group__multicore__fifo.html#ga282badad31e14f5b593ec1ddffae08f5">  231</a></span><span class="keyword">static</span> <span class="keyword">inline</span> uint32_t <a class="code hl_function" href="group__multicore__fifo.html#ga282badad31e14f5b593ec1ddffae08f5">multicore_fifo_pop_blocking_inline</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span>    <span class="comment">// If nothing there yet, we wait for an event first,</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>    <span class="comment">// to try and avoid too much busy waiting</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>    <span class="keywordflow">while</span> (!<a class="code hl_function" href="group__multicore__fifo.html#gaffd246b81370d37fc13181a561303834">multicore_fifo_rvalid</a>())</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>        <a class="code hl_function" href="group__hardware__sync.html#ga7799a0b9fc6444d463170266392f5fcd">__wfe</a>();</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span>    <span class="keywordflow">return</span> sio_hw-&gt;fifo_rd;</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>}</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span> </div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__fifo.html#ga27824f253c72ae50ae97e6f516220c60">multicore_fifo_pop_timeout_us</a>(uint64_t timeout_us, uint32_t *out);</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span> </div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"><a class="line" href="group__multicore__fifo.html#ga436e676544edeafb2f2f9e7245282cbf">  258</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__fifo.html#ga436e676544edeafb2f2f9e7245282cbf">multicore_fifo_drain</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span>    <span class="keywordflow">while</span> (<a class="code hl_function" href="group__multicore__fifo.html#gaffd246b81370d37fc13181a561303834">multicore_fifo_rvalid</a>())</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>        (void) sio_hw-&gt;fifo_rd;</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span>}</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span> </div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"><a class="line" href="group__multicore__fifo.html#ga96583311e8237cf590d9c78052b288eb">  273</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__fifo.html#ga96583311e8237cf590d9c78052b288eb">multicore_fifo_clear_irq</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span>    <span class="comment">// Write any value to clear the error flags</span></div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span>    sio_hw-&gt;fifo_st = 0xff;</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span>}</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span> </div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="group__multicore__fifo.html#ga7c5944bf2b7266465dfe6d4bac4b1c58">  293</a></span><span class="keyword">static</span> <span class="keyword">inline</span> uint32_t <a class="code hl_function" href="group__multicore__fifo.html#ga7c5944bf2b7266465dfe6d4bac4b1c58">multicore_fifo_get_status</a>(<span class="keywordtype">void</span>) {</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span>    <span class="keywordflow">return</span> sio_hw-&gt;fifo_st;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno">  295</span>}</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span> </div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span><span class="preprocessor">#if NUM_DOORBELLS</span></div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> check_doorbell_num_param(__unused uint doorbell_num) {</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span>    invalid_params_if(PICO_MULTICORE, doorbell_num &gt;= NUM_DOORBELLS);</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span>}</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno">  311</span> </div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__doorbell.html#ga278b6df9e61e3b54b3862183a94513d2">multicore_doorbell_claim</a>(uint doorbell_num, uint core_mask);</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno">  322</span> </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__multicore__doorbell.html#ga67aa5ca0c54bc8f2c7acd69cca6829a6">multicore_doorbell_claim_unused</a>(uint core_mask, <span class="keywordtype">bool</span> required);</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno">  334</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__doorbell.html#gae5f0a4a27b28ce45fa0945d737ad61cb">multicore_doorbell_unclaim</a>(uint doorbell_num, uint core_mask);</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span> </div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"><a class="line" href="group__multicore__doorbell.html#gabea48541cd4405325439625c0f57bb02">  348</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__doorbell.html#gabea48541cd4405325439625c0f57bb02">multicore_doorbell_set_other_core</a>(uint doorbell_num) {</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span>    check_doorbell_num_param(doorbell_num);</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span>    sio_hw-&gt;doorbell_out_set = 1u &lt;&lt; doorbell_num;</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span>}</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span> </div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="group__multicore__doorbell.html#ga6021effd0a028c81ecd02a85b67355a3">  357</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__doorbell.html#ga6021effd0a028c81ecd02a85b67355a3">multicore_doorbell_clear_other_core</a>(uint doorbell_num) {</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span>    check_doorbell_num_param(doorbell_num);</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span>    sio_hw-&gt;doorbell_out_clr = 1u &lt;&lt; doorbell_num;</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno">  360</span>}</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span> </div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="group__multicore__doorbell.html#gae267d5941dabffc3906e96a75257d9ba">  366</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__doorbell.html#gae267d5941dabffc3906e96a75257d9ba">multicore_doorbell_set_current_core</a>(uint doorbell_num) {</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span>    check_doorbell_num_param(doorbell_num);</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span>    sio_hw-&gt;doorbell_in_set = 1u &lt;&lt; doorbell_num;</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>}</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span> </div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"><a class="line" href="group__multicore__doorbell.html#ga22f960b66a5693ac4ff19e61ba6ffd45">  375</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__doorbell.html#ga22f960b66a5693ac4ff19e61ba6ffd45">multicore_doorbell_clear_current_core</a>(uint doorbell_num) {</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span>    check_doorbell_num_param(doorbell_num);</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span>    sio_hw-&gt;doorbell_in_clr = 1u &lt;&lt; doorbell_num;</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno">  378</span>}</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span> </div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="group__multicore__doorbell.html#gafdf836e71f55b981d9d6a35ac17007e4">  384</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__doorbell.html#gafdf836e71f55b981d9d6a35ac17007e4">multicore_doorbell_is_set_current_core</a>(uint doorbell_num) {</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span>    check_doorbell_num_param(doorbell_num);</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span>    <span class="keywordflow">return</span> sio_hw-&gt;doorbell_in_set &amp; (1u &lt;&lt; doorbell_num);</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span>}</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span> </div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"><a class="line" href="group__multicore__doorbell.html#ga03c48727a5b056879961be272a09e45f">  393</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__doorbell.html#ga03c48727a5b056879961be272a09e45f">multicore_doorbell_is_set_other_core</a>(uint doorbell_num) {</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span>    check_doorbell_num_param(doorbell_num);</div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span>    <span class="keywordflow">return</span> sio_hw-&gt;doorbell_out_set &amp; (1u &lt;&lt; doorbell_num);</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span>}</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span> </div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span><span class="preprocessor">#ifndef DOORBELL_IRQ_NUM</span></div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="group__multicore__doorbell.html#ga676ee71a9eb92807a482e2467ed163f6">  407</a></span><span class="preprocessor">#define DOORBELL_IRQ_NUM(doorbell_num) SIO_IRQ_BELL</span></div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span> </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span><span class="keyword">static</span> <span class="keyword">inline</span> uint multicore_doorbell_irq_num(uint doorbell_num) {</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span>    check_doorbell_num_param(doorbell_num);</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span>    <span class="keywordflow">return</span> <a class="code hl_define" href="group__multicore__doorbell.html#ga676ee71a9eb92807a482e2467ed163f6">DOORBELL_IRQ_NUM</a>(doorbell_num);</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span>}</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span> </div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno">  416</span> </div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__lockout.html#ga4e969086bda6851bc8ce8199113fd595">multicore_lockout_victim_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span> </div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno">  462</span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__lockout.html#ga3669ce9202da1860fcbbb11094778dd5">multicore_lockout_victim_is_initialized</a>(uint core_num);</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span> </div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__lockout.html#ga9a3f4df6b0e4140b0f40899a02c238d8">multicore_lockout_start_blocking</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span> </div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__lockout.html#gaaf40bf0b8b3a704f3178e38977d292be">multicore_lockout_start_timeout_us</a>(uint64_t timeout_us);</div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span> </div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__multicore__lockout.html#gab1b7b6dc6f81ca9524467f5024681167">multicore_lockout_end_blocking</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span> </div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno">  509</span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__multicore__lockout.html#gad61a822f1b135db1be62c19754694fe2">multicore_lockout_end_timeout_us</a>(uint64_t timeout_us);</div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno">  510</span> </div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno">  511</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno">  512</span>}</div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno">  513</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno">  514</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="acommon_2pico__sync_2include_2pico_2sync_8h_html"><div class="ttname"><a href="common_2pico__sync_2include_2pico_2sync_8h.html">sync.h</a></div></div>
<div class="ttc" id="agroup__hardware__irq_html_ggaf4bf6b287c1a8445fce49ccaa711b3c3a841acbddc6961252827d7645277452ec"><div class="ttname"><a href="group__hardware__irq.html#ggaf4bf6b287c1a8445fce49ccaa711b3c3a841acbddc6961252827d7645277452ec">SIO_IRQ_PROC0</a></div><div class="ttdeci">@ SIO_IRQ_PROC0</div><div class="ttdoc">Select SIO_PROC0's IRQ output.</div><div class="ttdef"><b>Definition:</b> intctrl_rp2040.h:63</div></div>
<div class="ttc" id="agroup__hardware__irq_html_ggaf4bf6b287c1a8445fce49ccaa711b3c3ae00819201c60acdf59448df5a08c11b5"><div class="ttname"><a href="group__hardware__irq.html#ggaf4bf6b287c1a8445fce49ccaa711b3c3ae00819201c60acdf59448df5a08c11b5">SIO_IRQ_PROC1</a></div><div class="ttdeci">@ SIO_IRQ_PROC1</div><div class="ttdoc">Select SIO_PROC1's IRQ output.</div><div class="ttdef"><b>Definition:</b> intctrl_rp2040.h:64</div></div>
<div class="ttc" id="agroup__hardware__sync_html_ga486eada32246494118f8273a80ae6856"><div class="ttname"><a href="group__hardware__sync.html#ga486eada32246494118f8273a80ae6856">__sev</a></div><div class="ttdeci">static __force_inline void __sev(void)</div><div class="ttdoc">Insert a SEV instruction in to the code path.</div><div class="ttdef"><b>Definition:</b> sync.h:90</div></div>
<div class="ttc" id="agroup__hardware__sync_html_ga7799a0b9fc6444d463170266392f5fcd"><div class="ttname"><a href="group__hardware__sync.html#ga7799a0b9fc6444d463170266392f5fcd">__wfe</a></div><div class="ttdeci">static __force_inline void __wfe(void)</div><div class="ttdoc">Insert a WFE instruction in to the code path.</div><div class="ttdef"><b>Definition:</b> sync.h:106</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_ga03c48727a5b056879961be272a09e45f"><div class="ttname"><a href="group__multicore__doorbell.html#ga03c48727a5b056879961be272a09e45f">multicore_doorbell_is_set_other_core</a></div><div class="ttdeci">static bool multicore_doorbell_is_set_other_core(uint doorbell_num)</div><div class="ttdoc">Determine if the given doorbell is active on the this core.</div><div class="ttdef"><b>Definition:</b> multicore.h:393</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_ga22f960b66a5693ac4ff19e61ba6ffd45"><div class="ttname"><a href="group__multicore__doorbell.html#ga22f960b66a5693ac4ff19e61ba6ffd45">multicore_doorbell_clear_current_core</a></div><div class="ttdeci">static void multicore_doorbell_clear_current_core(uint doorbell_num)</div><div class="ttdoc">Deactivate the given doorbell on this core.</div><div class="ttdef"><b>Definition:</b> multicore.h:375</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_ga278b6df9e61e3b54b3862183a94513d2"><div class="ttname"><a href="group__multicore__doorbell.html#ga278b6df9e61e3b54b3862183a94513d2">multicore_doorbell_claim</a></div><div class="ttdeci">void multicore_doorbell_claim(uint doorbell_num, uint core_mask)</div><div class="ttdoc">Cooperatively claim the use of this hardware alarm_num.</div><div class="ttdef"><b>Definition:</b> multicore.c:355</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_ga6021effd0a028c81ecd02a85b67355a3"><div class="ttname"><a href="group__multicore__doorbell.html#ga6021effd0a028c81ecd02a85b67355a3">multicore_doorbell_clear_other_core</a></div><div class="ttdeci">static void multicore_doorbell_clear_other_core(uint doorbell_num)</div><div class="ttdoc">Deactivate the given doorbell on the other core.</div><div class="ttdef"><b>Definition:</b> multicore.h:357</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_ga676ee71a9eb92807a482e2467ed163f6"><div class="ttname"><a href="group__multicore__doorbell.html#ga676ee71a9eb92807a482e2467ed163f6">DOORBELL_IRQ_NUM</a></div><div class="ttdeci">#define DOORBELL_IRQ_NUM(doorbell_num)</div><div class="ttdoc">Returns the irq_num_t for processor interrupts for the given doorbell number.</div><div class="ttdef"><b>Definition:</b> multicore.h:407</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_ga67aa5ca0c54bc8f2c7acd69cca6829a6"><div class="ttname"><a href="group__multicore__doorbell.html#ga67aa5ca0c54bc8f2c7acd69cca6829a6">multicore_doorbell_claim_unused</a></div><div class="ttdeci">int multicore_doorbell_claim_unused(uint core_mask, bool required)</div><div class="ttdoc">Cooperatively claim the use of this hardware alarm_num.</div><div class="ttdef"><b>Definition:</b> multicore.c:362</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_gabea48541cd4405325439625c0f57bb02"><div class="ttname"><a href="group__multicore__doorbell.html#gabea48541cd4405325439625c0f57bb02">multicore_doorbell_set_other_core</a></div><div class="ttdeci">static void multicore_doorbell_set_other_core(uint doorbell_num)</div><div class="ttdoc">Activate the given doorbell on the other core.</div><div class="ttdef"><b>Definition:</b> multicore.h:348</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_gae267d5941dabffc3906e96a75257d9ba"><div class="ttname"><a href="group__multicore__doorbell.html#gae267d5941dabffc3906e96a75257d9ba">multicore_doorbell_set_current_core</a></div><div class="ttdeci">static void multicore_doorbell_set_current_core(uint doorbell_num)</div><div class="ttdoc">Activate the given doorbell on this core.</div><div class="ttdef"><b>Definition:</b> multicore.h:366</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_gae5f0a4a27b28ce45fa0945d737ad61cb"><div class="ttname"><a href="group__multicore__doorbell.html#gae5f0a4a27b28ce45fa0945d737ad61cb">multicore_doorbell_unclaim</a></div><div class="ttdeci">void multicore_doorbell_unclaim(uint doorbell_num, uint core_mask)</div><div class="ttdoc">Cooperatively release the claim on use of this hardware alarm_num.</div><div class="ttdef"><b>Definition:</b> multicore.c:378</div></div>
<div class="ttc" id="agroup__multicore__doorbell_html_gafdf836e71f55b981d9d6a35ac17007e4"><div class="ttname"><a href="group__multicore__doorbell.html#gafdf836e71f55b981d9d6a35ac17007e4">multicore_doorbell_is_set_current_core</a></div><div class="ttdeci">static bool multicore_doorbell_is_set_current_core(uint doorbell_num)</div><div class="ttdoc">Determine if the given doorbell is active on the other core.</div><div class="ttdef"><b>Definition:</b> multicore.h:384</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga0c32cfcd182d5f1d3a25b6fb503352b7"><div class="ttname"><a href="group__multicore__fifo.html#ga0c32cfcd182d5f1d3a25b6fb503352b7">multicore_fifo_push_timeout_us</a></div><div class="ttdeci">bool multicore_fifo_push_timeout_us(uint32_t data, uint64_t timeout_us)</div><div class="ttdoc">Push data on to the write FIFO (data to the other core) with timeout.</div><div class="ttdef"><b>Definition:</b> multicore.c:38</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga134933a693c53c4f94c9d3cd3cabfc79"><div class="ttname"><a href="group__multicore__fifo.html#ga134933a693c53c4f94c9d3cd3cabfc79">multicore_fifo_push_blocking</a></div><div class="ttdeci">void multicore_fifo_push_blocking(uint32_t data)</div><div class="ttdoc">Push data on to the write FIFO (data to the other core).</div><div class="ttdef"><b>Definition:</b> multicore.c:34</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga27824f253c72ae50ae97e6f516220c60"><div class="ttname"><a href="group__multicore__fifo.html#ga27824f253c72ae50ae97e6f516220c60">multicore_fifo_pop_timeout_us</a></div><div class="ttdeci">bool multicore_fifo_pop_timeout_us(uint64_t timeout_us, uint32_t *out)</div><div class="ttdoc">Pop data from the read FIFO (data from the other core) with timeout.</div><div class="ttdef"><b>Definition:</b> multicore.c:57</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga282badad31e14f5b593ec1ddffae08f5"><div class="ttname"><a href="group__multicore__fifo.html#ga282badad31e14f5b593ec1ddffae08f5">multicore_fifo_pop_blocking_inline</a></div><div class="ttdeci">static uint32_t multicore_fifo_pop_blocking_inline(void)</div><div class="ttdoc">Pop data from the read FIFO (data from the other core).</div><div class="ttdef"><b>Definition:</b> multicore.h:231</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga436e676544edeafb2f2f9e7245282cbf"><div class="ttname"><a href="group__multicore__fifo.html#ga436e676544edeafb2f2f9e7245282cbf">multicore_fifo_drain</a></div><div class="ttdeci">static void multicore_fifo_drain(void)</div><div class="ttdoc">Discard any data in the read FIFO.</div><div class="ttdef"><b>Definition:</b> multicore.h:258</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga559050fb6fd4a37ccc81ef6272cbf34b"><div class="ttname"><a href="group__multicore__fifo.html#ga559050fb6fd4a37ccc81ef6272cbf34b">multicore_fifo_push_blocking_inline</a></div><div class="ttdeci">static void multicore_fifo_push_blocking_inline(uint32_t data)</div><div class="ttdoc">Push data on to the write FIFO (data to the other core).</div><div class="ttdef"><b>Definition:</b> multicore.h:184</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga6065367210695961c11ab3706140d3a9"><div class="ttname"><a href="group__multicore__fifo.html#ga6065367210695961c11ab3706140d3a9">multicore_fifo_wready</a></div><div class="ttdeci">static bool multicore_fifo_wready(void)</div><div class="ttdoc">Check the write FIFO to see if it has space for more data.</div><div class="ttdef"><b>Definition:</b> multicore.h:156</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga7c5944bf2b7266465dfe6d4bac4b1c58"><div class="ttname"><a href="group__multicore__fifo.html#ga7c5944bf2b7266465dfe6d4bac4b1c58">multicore_fifo_get_status</a></div><div class="ttdeci">static uint32_t multicore_fifo_get_status(void)</div><div class="ttdoc">Get FIFO statuses.</div><div class="ttdef"><b>Definition:</b> multicore.h:293</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga929272dd1056d8ae05667beda4adb0fc"><div class="ttname"><a href="group__multicore__fifo.html#ga929272dd1056d8ae05667beda4adb0fc">multicore_fifo_pop_blocking</a></div><div class="ttdeci">uint32_t multicore_fifo_pop_blocking(void)</div><div class="ttdoc">Pop data from the read FIFO (data from the other core).</div><div class="ttdef"><b>Definition:</b> multicore.c:53</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_ga96583311e8237cf590d9c78052b288eb"><div class="ttname"><a href="group__multicore__fifo.html#ga96583311e8237cf590d9c78052b288eb">multicore_fifo_clear_irq</a></div><div class="ttdeci">static void multicore_fifo_clear_irq(void)</div><div class="ttdoc">Clear FIFO interrupt.</div><div class="ttdef"><b>Definition:</b> multicore.h:273</div></div>
<div class="ttc" id="agroup__multicore__fifo_html_gaffd246b81370d37fc13181a561303834"><div class="ttname"><a href="group__multicore__fifo.html#gaffd246b81370d37fc13181a561303834">multicore_fifo_rvalid</a></div><div class="ttdeci">static bool multicore_fifo_rvalid(void)</div><div class="ttdoc">Check the read FIFO to see if there is data available (sent by the other core)</div><div class="ttdef"><b>Definition:</b> multicore.h:145</div></div>
<div class="ttc" id="agroup__multicore__lockout_html_ga3669ce9202da1860fcbbb11094778dd5"><div class="ttname"><a href="group__multicore__lockout.html#ga3669ce9202da1860fcbbb11094778dd5">multicore_lockout_victim_is_initialized</a></div><div class="ttdeci">bool multicore_lockout_victim_is_initialized(uint core_num)</div><div class="ttdoc">Determine if multicore_lockout_victim_init() has been called on the specified core.</div><div class="ttdef"><b>Definition:</b> multicore.c:315</div></div>
<div class="ttc" id="agroup__multicore__lockout_html_ga4e969086bda6851bc8ce8199113fd595"><div class="ttname"><a href="group__multicore__lockout.html#ga4e969086bda6851bc8ce8199113fd595">multicore_lockout_victim_init</a></div><div class="ttdeci">void multicore_lockout_victim_init(void)</div><div class="ttdoc">Initialize the current core such that it can be a &quot;victim&quot; of lockout (i.e. forced to pause in a know...</div><div class="ttdef"><b>Definition:</b> multicore.c:235</div></div>
<div class="ttc" id="agroup__multicore__lockout_html_ga9a3f4df6b0e4140b0f40899a02c238d8"><div class="ttname"><a href="group__multicore__lockout.html#ga9a3f4df6b0e4140b0f40899a02c238d8">multicore_lockout_start_blocking</a></div><div class="ttdeci">void multicore_lockout_start_blocking(void)</div><div class="ttdoc">Request the other core to pause in a known state and wait for it to do so.</div><div class="ttdef"><b>Definition:</b> multicore.c:289</div></div>
<div class="ttc" id="agroup__multicore__lockout_html_gaaf40bf0b8b3a704f3178e38977d292be"><div class="ttname"><a href="group__multicore__lockout.html#gaaf40bf0b8b3a704f3178e38977d292be">multicore_lockout_start_timeout_us</a></div><div class="ttdeci">bool multicore_lockout_start_timeout_us(uint64_t timeout_us)</div><div class="ttdoc">Request the other core to pause in a known state and wait up to a time limit for it to do so.</div><div class="ttdef"><b>Definition:</b> multicore.c:285</div></div>
<div class="ttc" id="agroup__multicore__lockout_html_gab1b7b6dc6f81ca9524467f5024681167"><div class="ttname"><a href="group__multicore__lockout.html#gab1b7b6dc6f81ca9524467f5024681167">multicore_lockout_end_blocking</a></div><div class="ttdeci">void multicore_lockout_end_blocking(void)</div><div class="ttdoc">Release the other core from a locked out state amd wait for it to acknowledge.</div><div class="ttdef"><b>Definition:</b> multicore.c:311</div></div>
<div class="ttc" id="agroup__multicore__lockout_html_gad61a822f1b135db1be62c19754694fe2"><div class="ttname"><a href="group__multicore__lockout.html#gad61a822f1b135db1be62c19754694fe2">multicore_lockout_end_timeout_us</a></div><div class="ttdeci">bool multicore_lockout_end_timeout_us(uint64_t timeout_us)</div><div class="ttdoc">Release the other core from a locked out state amd wait up to a time limit for it to acknowledge.</div><div class="ttdef"><b>Definition:</b> multicore.c:307</div></div>
<div class="ttc" id="agroup__pico__multicore_html_ga46ea5e2efc181aba1d4d1de06a375c59"><div class="ttname"><a href="group__pico__multicore.html#ga46ea5e2efc181aba1d4d1de06a375c59">multicore_launch_core1</a></div><div class="ttdeci">void multicore_launch_core1(void(*entry)(void))</div><div class="ttdoc">Run code on core 1.</div><div class="ttdef"><b>Definition:</b> multicore.c:157</div></div>
<div class="ttc" id="agroup__pico__multicore_html_gac1926bb2da43016e5d14eb52c8c123f4"><div class="ttname"><a href="group__pico__multicore.html#gac1926bb2da43016e5d14eb52c8c123f4">multicore_launch_core1_with_stack</a></div><div class="ttdeci">void multicore_launch_core1_with_stack(void(*entry)(void), uint32_t *stack_bottom, size_t stack_size_bytes)</div><div class="ttdoc">Launch code on core 1 with stack.</div><div class="ttdef"><b>Definition:</b> multicore.c:134</div></div>
<div class="ttc" id="agroup__pico__multicore_html_gac3a24e275219229de49d1fb32e3c4ef0"><div class="ttname"><a href="group__pico__multicore.html#gac3a24e275219229de49d1fb32e3c4ef0">multicore_launch_core1_raw</a></div><div class="ttdeci">void multicore_launch_core1_raw(void(*entry)(void), uint32_t *sp, uint32_t vector_table)</div><div class="ttdoc">Launch code on core 1 with no stack protection.</div><div class="ttdef"><b>Definition:</b> multicore.c:169</div></div>
<div class="ttc" id="agroup__pico__multicore_html_gad7a189a5f44f0124d74aa5b206f9a262"><div class="ttname"><a href="group__pico__multicore.html#gad7a189a5f44f0124d74aa5b206f9a262">multicore_reset_core1</a></div><div class="ttdeci">void multicore_reset_core1(void)</div><div class="ttdoc">Reset core 1.</div><div class="ttdef"><b>Definition:</b> multicore.c:102</div></div>
<div class="ttc" id="agroup__pico__platform_html_gab0d1ba75ceb64131e19f613d7a5313c9"><div class="ttname"><a href="group__pico__platform.html#gab0d1ba75ceb64131e19f613d7a5313c9">tight_loop_contents</a></div><div class="ttdeci">static __force_inline void tight_loop_contents(void)</div><div class="ttdoc">No-op function for the body of tight loops.</div><div class="ttdef"><b>Definition:</b> platform.h:80</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>